<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ul>
            <li class="current_page_item"><h:commandLink action="#{PageManager.setMenuPrincipal}" value="Home" /></li>
            <li><h:commandLink action="#{PageManager.setMenuArquivo}" value="Arquivo" /></li>
            <li><h:commandLink action="#{PageManager.setMenuDiploma}" value="Diploma" /></li>
<!--            <li><a href="#">Relatórios</a></li>-->
            <li><h:commandLink action="#{PageManager.setMenuConfiguracoes}" value="Configurações" /></li>
            
            <c:if test="#{UserController.usuarioLogado!=null}" ><li><h:commandLink action="#{PageManager.setMenuUsuario}" value="Usuário" /></li></c:if>

            <li><h:commandLink action="#{PageManager.setPageSobre}" value="Sobre o Sistema" /></li>
<!--            <li><a href="#">Ajuda</a></li>-->
            <c:if test="#{UserController.usuarioLogado==null}" ><li><h:commandLink action="#{PageManager.setPageLogin}" value="Logar" /></li></c:if>
            <c:if test="#{UserController.usuarioLogado!=null}" ><li><h:commandLink action="#{PageManager.setPageMeusDados}" value="#{UserController.usuarioLogado.login}" /></li></c:if>
            <c:if test="#{UserController.usuarioLogado!=null}" ><li><h:commandLink action="#{UserController.logaut}" value="Sair" /></li></c:if>

        </ul>
</html>
